package cn.cau.entity;

public class CodeRule {

    private int codeRuleId;

    private int categoryId;

    private int ruleCategoryId;

    private int codeCodeCount;

    private String codeRuleName;

    private String codeRuleIntro;


    /*
    codeState
    值:含义
    0:未设计完成
    1:已提交审核
    2:正在工作（通过审核）
    3：未通过审核
    4：已废除
     */
    private int codeState;

    private int serialNumber;

    public int getCodeState() {
        return codeState;
    }

    public void setCodeState(int codeState) {
        this.codeState = codeState;
    }

    public int getCodeRuleId() {
        return codeRuleId;
    }

    public void setCodeRuleId(int codeRuleId) {
        this.codeRuleId = codeRuleId;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public int getRuleCategoryId() {
        return ruleCategoryId;
    }

    public void setRuleCategoryId(int ruleCategoryId) {
        this.ruleCategoryId = ruleCategoryId;
    }

    public int getCodeCodeCount() {
        return codeCodeCount;
    }

    public void setCodeCodeCount(int codeCodeCount) {
        this.codeCodeCount = codeCodeCount;
    }

    public String getCodeRuleName() {
        return codeRuleName;
    }

    public void setCodeRuleName(String codeRuleName) {
        this.codeRuleName = codeRuleName;
    }

    public String getCodeRuleIntro() {
        return codeRuleIntro;
    }

    public void setCodeRuleIntro(String codeRuleIntro) {
        this.codeRuleIntro = codeRuleIntro;
    }

    public int getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(int serialNumber) {
        this.serialNumber = serialNumber;
    }

    @Override
    public String toString() {
        return "CodeRule{" +
                "codeRuleId=" + codeRuleId +
                ", categoryId=" + categoryId +
                ", ruleCategoryId=" + ruleCategoryId +
                ", codeCodeCount=" + codeCodeCount +
                ", codeRuleName='" + codeRuleName + '\'' +
                ", codeRuleIntro='" + codeRuleIntro + '\'' +
                ", serialNumber=" + serialNumber +
                ", codeState=" + codeState +
                '}';
    }
}
